#include "part2_vector.h"

template <typename T>
Vector_own<T>::Vector_own(int capacity, int size, T value)
{
    _capacity = capacity;
    T *_elem = new T[_capacity];
    _size = size;
    for(_size = 0; _size < size; _size++)
    {
        _elem[_size] = value;
    }
}

template <typename T>
Vector_own<T>::~Vector_own()
{
    delete [] _elem;
}
